package Factory.Sample_Opertion2
{
	import Factory.Sample_Opertion2.method.OperationAdd;

	public class OperationFactory
	{
		public static function createOperate(string:String):Operation
		{
			var oper:Operation = null;
			switch(string)
			{
				case "+":
					oper = new OperationAdd();
					break;
			}
			return oper;
		}
	}
}